<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CoupoNow</title>
<link href="couponow.css" rel="stylesheet" type="text/css" />
<script src='/jqtouch/jqtouch/jquery-1.4.2.js'></script>
    
<SCRIPT TYPE="text/javascript">
			function getbId()
			{
				var bId = location.href.substring((location.href.indexOf('bId=')+4), location.href.length);
				return bId;
			}
			
		
    	
</script>


</head>

<body>
<div id="general">
 <div id="heading1">
 <div id="image"><a href="/"><img src="heading1.png" width="474" height="166" alt="Logo" style="border-style:none"/></a></div>
  <div id="yoursource">
    		<img src="pic1.png" height="126" width="540"/>
  		</div>
</div>

<br class="clearfloat" />
<div id="body">
<div style="height:auto; text-align:center">

<table width="1000" border="0" style="background:#ececec
background-color: #333; background-color: #333; color: #FFF; font-family: Verdana, Geneva, sans-serif; font-size: 20px; font-style: normal; font-weight: bolder;">
       <tr>
           <td width="49"><div align="center"></div></td>
           <td width="49"><div align="center"></div></td>
           <td width="49"><div align="center"></div></td>
           <td width="49"><div align="center"></div></td>
           <td width="49"><div align="center"></div></td>
           <td width="397"><div align="center"></div></td>
           <td width="116"><div align="center">צור קשר</div></td>
           <td width="72"><div align="center">אודות</div></td>
           <td width="132"><div align="center">הצעות פעילות</div></td>
         </tr>
         
         
      </table></div>

<script type="text/javascript" src="http://www.google.com/jsapi"></script>  
<script type="text/javascript">
google.load('visualization', '1', {'packages':['piechart']});


google.setOnLoadCallback(init);

function init(){
var query = new google.visualization.Query('/statservlet?bId=' + getbId() + '&act=lastdeal');
query.send(handleQueryResponse);
}

function handleQueryResponse(response) {

  if (response.isError()) {
    alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage());
    return;
  }

  var data = response.getDataTable();
  var chart = new google.visualization.PieChart(document.getElementById('chart_div'));
  chart.draw(data, {width: 500, height: 550, is3D: true});
}

</script>


<div  style="width:996px; height:50px; text-align:center; border-width:2px;border-style: solid;font-size:26px;"> התפלגות עסקה אחרונה</div>

<div id="chart_div" style="padding-top:20px; width:996px; height:650px; text-align:center; border-width:2px;border-style: solid"></div>


				
<div style="height:auto; text-align:center">
<table width="1000" border="0"style="background:#ececec&gt;
background-color: #333; background-color: #333; color: #FFF; font-family: Verdana, Geneva, sans-serif; font-size: 14px;">
           <td width="48" height="39"><div align="center"></div></td>

           <td width="48"><div align="center"></div></td>
           <td width="48"><div align="center"></div></td>
           <td width="389"><div align="center"></div></td>
           <td width="69"><div align="center">תקנון</div></td>
           <td width="116"><div align="center">שאלות נפוצות</div></td>
           <td width="73"><div align="center">צור קשר</div></td>
           <td width="64"><div align="center">אודות</div></td>

           <td width="103"><div align="center">הצעות פעילות</div></td>
         </tr>
     </table></p></div>

</div>
</div>
</body>
</html>
